home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 6 / c_wndw.zip / DISP_XXX.C < prev    next >
Text File  |  1989-05-25  |  710b  |  26 lines

  1. /*  (c) Marietta Systems, Inc.  1987
  2. *   All rights reserved
  3. *
  4. *   demonstration program for functions disp_msg, disp_err, disp_qry
  5. */
  6. #include "mtest.h"
  7. void main(){
  8. int m = 1;
  9. KEYMATCH[4] = 0XFC00; KEYMATCH[5] = 0X1; /* show F3 - F9 */
  10. clr_scrn("Disp_xxx test");
  11. while (m) {
  12.      disp_err(" Example of error message",1500);
  13.      disp_msg(" Press any key to continue",1);
  14.      read_kb();
  15.      disp_msg(" Example of message",36);
  16.      disp_err(" Press any key to continue",1036);
  17.      read_kb();
  18.      disp_msg(NULL, 0);
  19.      disp_err(" Note message blanked, press key",1);
  20.      read_kb();
  21.      disp_err(NULL, 0);
  22.      m = disp_qry(" Do you want to do it again");
  23.      }
  24. goodbye(0);
  25. }
  26.